<%@ page import="net.tutwiz.model.Step" %>
<%@ page import="com.google.gson.FieldAttributes" %>
<%@ page import="net.tutwiz.model.User" %>
<%@ page import="com.google.gson.GsonBuilder" %>
<%@ page import="com.google.gson.ExclusionStrategy" %>
<%@ page import="com.google.gson.Gson;" %>
<%
	response.setContentType("application/json");
	response.setCharacterEncoding("utf-8");
%>

<%
	String returnValue = "{";
	Step s = (Step)request.getAttribute("parameters");
	returnValue += "\"title\":\""	+ s.getTitle() + "\", ";
	returnValue += "\"image\":\""	+ s.getImage() + "\", ";
	returnValue += "\"link\":\""	+ s.getLink() + "\", ";
        returnValue += "\"order\":\""	+ s.getStepOrder() + "\", ";
        returnValue += "\"text\":\""	+ s.getText() + "\", ";
        returnValue += "\"id\":\""	+ s.getId() + "\"";
	returnValue += "}";		
%>
<%= returnValue %>